package com.jic.point.api;

import com.jic.point.common.RestResult;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;

@FeignClient(name = "jic-point",path = "/api/point/")
@Api("积分卡对外接口")
public interface HaierPointCardApi {
    /**
     *
     *
     * @description: 添加积分卡
     * @return: Boolean
     * @author: fengrui
     * @time: 2020/11/25 16:06
     */  
    @ApiOperation("添加积分卡")
    @PostMapping
    RestResult<Boolean> savePointCard();


    /**
     *
     *
     * @description: false为未删除   true为删除成功
     * @return: Boolean
     * @author: fengrui
     * @time: 2020/11/25 16:16
     */
    @ApiOperation("删除积分卡")
    @PostMapping
    RestResult<Boolean> deletePointCard();

    /**
     *
     *
     * @description: false为激活失败   true为激活成功
     * @return: Boolean
     * @author: fengrui
     * @time: 2020/11/25 16:17
     */  
    @ApiOperation("激活积分卡")
    @PostMapping
    RestResult<Boolean> activatePointCard();


    /**
     *
     *
     * @description: false 为冻结失败，true为冻结成功
     * @return: Boolean
     * @author: fengrui
     * @time: 2020/11/25 16:21
     */
    @ApiOperation("冻结积分卡")
    @PostMapping
    RestResult<Boolean> freezePointCard();









}
